﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="inbound.aspx.cs" Inherits="HPIT_Library.inbound" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link rel="stylesheet" />
		<link rel="stylesheet" href="css/Site.css" />
		<link rel="stylesheet" href="css/zy.all.css" />
		<link rel="stylesheet" href="css/font-awesome.min.css" />
		<link rel="stylesheet" href="css/amazeui.min.css" />
		<link rel="stylesheet" href="css/admin.css" />
</head>
<body>
    <form id="form1" runat="server">
        <div class="dvcontent">

			<div>
				<!--tab start-->
				<div class="tabs" style="margin: 30px;">
					<div class="hd">
						<ul>
							<li class="on" style="box-sizing: initial;-webkit-box-sizing: initial;">入库记录</li>
							 <li class="" style="box-sizing: initial;-webkit-box-sizing: initial;">
								 
								 <a href="inboundAdd.aspx">添加借阅</a>
							 </li>
						</ul>
					</div>
					<div class="bd">
						<ul style="display: block;padding: 20px;">
							<li>
								<!--分页显示角色信息 start-->
								<div id="dv1" style="text-align:center">
                                    <asp:GridView ID="GridView1" runat="server" Width="100%" AutoGenerateColumns="False" OnRowCommand="GridView1_RowCommand" >
                                        <Columns>
                                            <asp:BoundField DataField="BookName" HeaderText="借阅书名" SortExpression="BookName" />
                                            <asp:BoundField DataField="BorrowBooksId" HeaderText="BorrowBooksId" InsertVisible="False" Visible="false" ReadOnly="True" SortExpression="BorrowBooksId" />
                                            <asp:BoundField DataField="BookId" HeaderText="BookId" SortExpression="BookId" Visible="false"/>
                                            <asp:BoundField DataField="StartTime" HeaderText="借书时间" SortExpression="StartTime" />
                                            <asp:BoundField DataField="EndTime" HeaderText="还书时间" SortExpression="EndTime" />
<%--                                            <asp:CheckBoxField DataField="BookRevert" HeaderText="是否还书" SortExpression="BookRevert" />--%>
                                            <asp:BoundField DataField="BookMemberId" HeaderText="BookMemberId" SortExpression="BookMemberId" Visible="false"/>
                                            <asp:BoundField DataField="id" HeaderText="id" InsertVisible="False" ReadOnly="True" SortExpression="id" Visible="false"/>
                                            <asp:TemplateField HeaderText="是否还书">
                                                <ItemTemplate>
                                                    <asp:Label ID="Label1" runat="server" Text='<%# Convert.ToInt32(Eval("BookRevert"))==0?"未归还":"已归还" %>'></asp:Label>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:BoundField DataField="MemberName" HeaderText="借书人员" SortExpression="MemberName" />
                                            <asp:BoundField DataField="MemberPhone" HeaderText="借书人员电话" SortExpression="MemberPhone" />
                                            <asp:TemplateField HeaderText="操作">
                                                <ItemTemplate>
                                                    <asp:Button ID="Button1" runat="server" Text='<%# Convert.ToInt32(Eval("BookRevert"))==0?"未归还":"已归还" %>'  CommandArgument='<%# Eval("BorrowBooksId") %>' CommandName="Button_update" OnClientClick='alert("是否完成")'/>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                        </Columns>
                                    </asp:GridView>
											
									
								</div>
								<!--分页显示角色信息 end-->
							</li>
						</ul>
						<ul class="theme-popbod dform" style="display: none;">
								<div class="am-cf admin-main" style="padding-top: 0px;">
			<!-- content start -->
			
							<div class="am-cf admin-main" style="padding-top: 0px;">
		
							</div>
							<!--添加 end-->
							<!--end-->
						</ul>
					</div>
				</div>
				<!--tab end-->

			</div>

			
		</div>
    </form>
</body>
</html>
